* {
    padding: 0;
    margin: 0;
    font-family: 'Athiti', "Roboto",sans-serif;
    text-transform: uppercase;
    color: white;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -o-user-select: none;
    user-select: none;
    overflow: hidden;
}

.material-icons {
    font-family: 'Material Icons';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;  /* Preferred icon size */
    display: inline-block;
    line-height: 1;
    text-transform: none;
    letter-spacing: normal;
    word-wrap: normal;
    white-space: nowrap;
    direction: ltr;
  
    /* Support for all WebKit browsers. */
    -webkit-font-smoothing: antialiased;
    /* Support for Safari and Chrome. */
    text-rendering: optimizeLegibility;
  
    /* Support for Firefox. */
    -moz-osx-font-smoothing: grayscale;
  
    /* Support for IE. */
    font-feature-settings: 'liga';
  }

.ui {
    position: relative;
    left: 0;
    top: 0;
    width: 100%;
    height: 100vh;
    background-color: #3b444e7e;
    display: none;
    z-index: 0;
}

.middle {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    text-transform: uppercase;
    text-align: center;
}

.header {
    position: relative;
    padding: 0 15px;
    font-size: 24px;
    height: 80px;
    line-height: 80px;
    /*border-bottom: 1px solid rgba(65, 65, 65, 1);*/
}

.inventory {
    /* display: inline-block;
    box-sizing: border-box;
    background-color: rgba(0,0,0,0.8);
    -webkit-box-shadow:inset 0px 0px 0px 1px rgba(65, 65, 65, 1);
    -moz-box-shadow:inset 0px 0px 0px 1px rgba(65, 65, 65, 1);
    box-shadow:inset 0px 0px 0px 1px rgba(65, 65, 65, 1); */
    display: inline-block;
    box-sizing: border-box;
    background-color: transparent;
    border-radius: 30px;
    margin-top: -10px;
    margin-left: -10px;
}

#playerInventoryClothes, 
#playerInventory {
    width: 1020px;
    height: 578px;
    overflow-y: auto;
}

#otherInventory {
    width: 1520px;
    height: 578px;
    overflow-y: auto;
    background-color: rgba(74, 110, 80, 0.3);
    border-radius: 20px;
    /*border-left: 1px solid rgba(65, 65, 65, 1);*/
}

#count {
    border: none;
    outline: none;
    font-size: 18px;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number] {
    -moz-appearance: textfield;
}

.slot {
    /*float: left;*/
    /*width: 120px;
    height: 120px;*/
    background-color: #3b444ee5;
    margin: 5px;
    position: relative;
    border-radius: 20px;
}
.slot-1 {
    box-sizing: border-box;
    margin: -1px 0px 0px 0px;
    display: none;
    /* border-right: 1px solid rgba(65, 65, 65, 1);
    border-top: 1px solid rgba(65, 65, 65, 1);
    border-bottom: 1px solid rgba(65, 65, 65, 1); */
}
.slot-1:nth-child(5n+5) {
    border-right: none;
}
.slot-1:last-child {
    margin-right: 0px;
}

.slot:hover {
    background-color: #3b444ea4;
    /*background-color: rgba(100, 100, 100, 0.6);*/
}

.item,
.item-other {
    width: 128px;
    height: 128px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
}

.item-name {
    position: absolute;
    bottom: 0;
    text-align: center;
    padding-top: 5px;
    padding-bottom: 5px;
    width: 117px;
    min-height: 20px;
    z-index: 500;
    font-size: 12px;
    background-color: rgba(0,0,0, 0.8);
}

.ui-draggable-dragging .item-name,
.ui-draggable-dragging .item-count {
    display: none;
}

.item-count {
    position: absolute;
    top: 0;
    text-align: right;
    width: 114px;
    height: 20px;
    z-index: 500;
}

.ammoIcon {
    width: 10px;
    height: 10px;
}

.info-div {
    text-align: center;
    padding: 0px;
    width: 100%;
}

.controls-div {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.control {
    width: 150px;
    height: 40px;
    background-color: rgba(0, 0, 0, 0.6);
    text-align: center;
    vertical-align: middle;
    line-height: 40px;
}

.control.disabled {
    background-color: rgba(17, 5, 17, 0.1);
}

.hoverControl {
    background-color: rgb(10, 2, 10);
}

.item-name-bg {
    width: 100%;
    width: 117px;
    height: 20px;
    position: absolute;
    bottom: 0;
}

#playerInventory::-webkit-scrollbar-track,
#otherInventory::-webkit-scrollbar-track {
    background-color: none;
    border: none;
}

#playerInventory::-webkit-scrollbar,
#otherInventory::-webkit-scrollbar {
    width: 0px;
    background-color: rgba(100, 100, 100, 0.2);
}

#playerInventory::-webkit-scrollbar-thumb,
#otherInventory::-webkit-scrollbar-thumb {
    background-color: rgb(143, 143, 143);
}

.nearbyPlayerButton {
    width: 100%;
    margin-top: 5px;
    display: block;
    text-decoration: none;
    padding: 2px;
    color: rgba(255, 255, 255, 0.85);
    background-color: rgba(63, 57, 83, 0.226);
    text-shadow: none;
    font-size: 14px !important;
    outline: none;
    text-transform: none;
    text-align: center;
    line-height: 30px;
    border: none;
}

.nearbyPlayerButton:hover {
    background-color: rgba(34, 29, 46, 0.8);
}

#noSecondInventoryMessage {
    width: 615px;
    height: 580px;
    line-height: 580px;
    text-align: center;
}

.key-button {
    position: absolute;
    top: 0px;
    right: 15px;
}

/* @media (max-width: 1500px) {
    .inventory {
        width: 1300px;
    }

    #playerInventory {
        width: 550px;
    }

    #controls {
        width: 200px;
    }

    #otherInventory {
        width: 550px;
    }

    #noSecondInventoryMessage {
        width: 540px;
    }
}

@media (max-width: 1300px) {
    .inventory {
        width: 1000px;
    }

    #playerInventory {
        width: 425px;
    }

    #controls {
        width: 150px;
    }

    #otherInventory {
        width: 425px;
    }

    #noSecondInventoryMessage {
        width: 420px;
    }
} */